package com.wn.demo01;

/**
 * @author yellow Docter
 * @date 2024-07-24
 * @desc 蜗牛创想：www.woniuxy.com
 *
 *  实现Runnable,重写run，基于匿名内部类**
 */
public class Demo04 {

    public static void main(String[] args) {

        Thread t = new Thread(()->{
            System.out.println("我是子线程...");
        });
        //调用线程
        t.start();
    }

}
